<?php
/**
 * bs多规格sku商城系统
 * ============================================================================
 * 版权所有 2024-2099 wltx666.com，并保留所有权利。
 * 网站地址: https://wltx666.com
 * ============================================================================
 * Author: 草上飞
 * Email: wltx@alipay168.cn
 * QQ: 2719875001
 * Date: 2025/3/3
 * 描述:
 */

namespace app\api\controller;

use app\service\PaymentService;

class Notify
{
    protected $objResult;

    public function __construct()
    {
        $this->objResult = new PaymentService();
    }

    function alipay_pay()
    {
        $data = input();
        bs_log($data, 'info', 'notify.log');
        $this->objResult->alipay_callback($data);
    }

    function wechat_pay()
    {
        $data = input();
        bs_log($data, 'info', 'notify.log');
        $this->objResult->wechat_callback($data);
    }
}
